<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="../jsp/common/head.jsp"%>






<div class="right">
    <div class="location">
        <strong>你现在所在的位置是:</strong>
        <span>商品管理页面</span>

    </div>

    <!--商家订单查询-->
    <table class="providerTable" cellpadding="0" cellspacing="0">
        <tr class="firstTr">
            <th width="10%">项目编码</th>
            <th width="10%">项目名称</th>
            <th width="10%">项目时间</th>
            <th width="10%">旅游路径</th>
            <th width="5%">旅游往返方式</th>
            <th width="10%">旅游团编号</th>
            <th width="5%">旅游地点</th>
            <th width="5%">团队人数</th>
            <th width="5%">剩余名额</th>
            <th width="10%">成人价格</th>
            <th width="10%">团购人数</th>
            <th width="10%">操作</th>
        </tr>
        <c:forEach var="products" items="${products.list}">
            <tr>
                <td>
                    <span>${products.productcode}</span>
                </td>
                <td>
                    <span>${products.productname}</span>
                </td>
                <td>
					<span>
					<fmt:formatDate value="${products.producttime}" pattern="yyyy-MM-dd"/>
					</span>
                </td>
                <td>
                    <span>${products.productpath}</span>
                </td>
                <td>
                    <span>${products.productgo}</span>
                </td>
                <td>
                    <span>${products.touring_party_code}</span>
                </td>
                <td>
                    <span>${products.priductaddress}</span>
                </td>
                <td>
                    <span>${products.team_number}</span>
                </td>
                <td>
                    <span>${products.remain_number}</span>
                </td>

                <td>
                    <span>${products.price}</span>
                </td>
                <td>
                    <span>${products.group_number}</span>
                </td>


                <td>

                    <span><a class="deleteBill" href="${pageContext.request.contextPath }/merchandise/merchantsDeleteTeamProduct?productcode=${products.productcode}" ><img src="${pageContext.request.contextPath }/images/schu.png" alt="删除" title="删除"/></a></span>
                </td>
            </tr>
        </c:forEach>
    </table>

    <div style="font-size: 20px;float: right">
        <a class="prev"
           href="${pageContext.request.contextPath}/merchandise/queryMerchantsTeamProduct?page=${products.pageNum-1}&size=6"
           id="prePage">前一页</a>
        <span class="current">当前页${products.getPageNum()}</span>
        <a class="num"
           href="${pageContext.request.contextPath}/merchandise/queryMerchantsTeamProduct?page=${products.pageNum+1}&size=6">后一页</a>
        <a class="num" href="">总${products.getPages()}页</ a>

    </div>





</div>
</section>

<!--点击删除按钮后弹出的页面-->
<%--<div class="zhezhao"></div>--%>
<%--<div class="remove" id="removeBi">--%>
<%--<div class="removerChid">--%>
<%--<h2>提示</h2>--%>
<%--<div class="removeMain">--%>
<%--<p>你确定要删除该订单吗？</p>--%>
<%--<a href="#" id="yes">确定</a>--%>
<%--<a href="#" id="no">取消</a>--%>
<%--</div>--%>
<%--</div>--%>
<%--</div>--%>

<%@include file="../jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/billlist.js"></script>